<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <title>用户中心 - {$kx.config.sitename}</title>
    {include file="/system/head"}
    <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno2/css/user.css" />
</head>
<body>
{include file="/system/header"}
<section class="w-all user">
    {include file="/system/userheader"}
    <div class="body clearfix">
        <div class="userleft">
            <ul class="navbar">
                {include file="/system/userleft"}
            </ul>
        </div>
        <div class="userright">
            <div class="hd">
                <h3 class="title">签到记录</h3>
                {if date('Ymd')>$userinfo.data.sign_day}
                <div class="fr"><a class="btn btn-small btn-success" href="{link=user.sign.do}">今日签到</a></div>
                {/if}
            </div>
            <div class="bd">
                <ul class="record">
                    <li class="clearfix">
                        <div style="width:40%"><b>签到时间</b></div>
                        <div style="width:20%"><b>连签次数</b></div>
                        <div style="width:20%"><b>{$kx.config.user.exp_caption}奖励</b></div>
                        <div style="width:20%" class="last"><b>{$kx.config.user.point_caption}奖励</b></div>
                    </li>
                    {block method="sign" name=signlist userid=$userinfo.id num=5}
                    {loop=signlist}
                    <li class="clearfix">
                        <div style="width:40%">{$loop.datetime|date="Y年m月d日 H:i:s"}</div>
                        <div style="width:20%">{$loop.num}</div>
                        <div style="width:20%">{$loop.exp}</div>
                        <div style="width:20%" class="last">{$loop.point}</div>
                    </li>
                    {/loop}
                </ul>
            </div>
            <div class="hd" style="margin-top:30px;">
                <h3 class="title">统计数据</h3>
            </div>
            <div class="bd">
                <ul class="record">
                    <li class="clearfix">
                        <div style="width:20%"><b>总推荐数</b></div>
                        <div style="width:20%"><b>总评分数</b></div>
                        <div style="width:20%"><b>总评论数</b></div>
                        <div style="width:20%"><b>总邀请访问数</b></div>
                        <div style="width:20%" class="last"><b>总邀请注册数</b></div>
                    </li>
                    <li class="clearfix">
                        <div style="width:20%">{$userinfo.data.vote_num}</div>
                        <div style="width:20%">{$userinfo.data.star_num}</div>
                        <div style="width:20%">{$userinfo.data.comment_num}</div>
                        <div style="width:20%">{$userinfo.data.invite_visit_num}</div>
                        <div style="width:20%" class="last">{$userinfo.data.invite_reg_num}</div>
                    </li>
                </ul>
                <ul class="record">
                    <li class="clearfix">
                        <div style="width:119px"><b>藏书数</b></div>
                        <div style="width:119px"><b>每日推荐</b></div>
                        <div style="width:119px"><b>每日评分</b></div>
                        <div style="width:119px"><b>每日评论</b></div>
                        <div style="width:119px"><b>邀请访问</b></div>
                        <div style="width:119px" class="last"><b>邀请注册</b></div>
                    </li>
                    <li class="clearfix">
                        <div style="width:119px">{$markinfo|count} / {$userinfo.limit.limitmark}</div>
                        <div style="width:119px">{$userinfo.data.today_vote} / {$userinfo.limit.limitvote}</div>
                        <div style="width:119px">{$userinfo.data.today_star} / {$userinfo.limit.limitstar} / {$userinfo.limit.max_star}</div>
                        <div style="width:119px">{$userinfo.data.today_comment} / {$userinfo.limit.limitcomment} / {$userinfo.limit.max_comment}</div>
                        <div style="width:119px">{$userinfo.data.today_invite_visit} / {$userinfo.limit.max_invite_visit}</div>
                        <div style="width:119px" class="last">{$userinfo.data.today_invite_reg} / {$userinfo.limit.max_invite_reg}</div>
                    </li>
                </ul>
                <p style="line-height: 2">注:两项表示今日次数/今日限制次数 三项时表示今日次数/今日最大可获取奖励次数/今日最大参与次数</p>
            </div>
        </div>
    </div>
</section>
{include file="/system/footer"}
</body>
</html>